package contact

import (
	"context"
	pb "git.mycaigou.com/gfyx/micro-gfyx-oppty-service/proto/micro_gfyx_oppty_service_proto/micro-gfyx-oppty-service/business_opportunity"
)

type ContactServiceIface interface {
	// ContactList 联系人列表
	ContactList(ctx context.Context, request *pb.ContactListRequest) (*pb.ContactListResponse, error)
	// ContactDetail 联系人详情
	ContactDetail(ctx context.Context, request *pb.ContactDetailRequest) (*pb.ContactDetailResponse, error)
	// GetMobile 获取手机号
	GetMobile(ctx context.Context, request *pb.GetMobileRequest) (*pb.GetMobileResponse, error)
	// CooperationList 合作案例列表
	CooperationList(ctx context.Context, request *pb.CooperationListRequest) (*pb.CooperationListResponse, error)
	// CompanyContactCnt 公司联系人数量
	CompanyContactCnt(ctx context.Context, request *pb.CompanyContactCntRequest) (*pb.CompanyContactCntResponse, error)

	// GetExportCooperationTotal QueryExportCooperationBatchData 导出客户详情的在合作供方数据
	GetExportCooperationTotal(ctx context.Context, condition interface{}) (total int64, err error)
	QueryExportCooperationBatchData(ctx context.Context, condition interface{}, batchNum, batchSize int32) (rowTitle []string, rowData [][]string, err error)
}
